package org.dtrd.modules.content.articles.entity.po;

import java.util.ArrayList;
import java.util.List;

public class DtrdExtEmsSportActionsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DtrdExtEmsSportActionsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andDataIdIsNull() {
            addCriterion("data_id is null");
            return (Criteria) this;
        }

        public Criteria andDataIdIsNotNull() {
            addCriterion("data_id is not null");
            return (Criteria) this;
        }

        public Criteria andDataIdEqualTo(Integer value) {
            addCriterion("data_id =", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdNotEqualTo(Integer value) {
            addCriterion("data_id <>", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdGreaterThan(Integer value) {
            addCriterion("data_id >", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("data_id >=", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdLessThan(Integer value) {
            addCriterion("data_id <", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdLessThanOrEqualTo(Integer value) {
            addCriterion("data_id <=", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdIn(List<Integer> values) {
            addCriterion("data_id in", values, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdNotIn(List<Integer> values) {
            addCriterion("data_id not in", values, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdBetween(Integer value1, Integer value2) {
            addCriterion("data_id between", value1, value2, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdNotBetween(Integer value1, Integer value2) {
            addCriterion("data_id not between", value1, value2, "dataId");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNull() {
            addCriterion("is_del is null");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNotNull() {
            addCriterion("is_del is not null");
            return (Criteria) this;
        }

        public Criteria andIsDelEqualTo(Integer value) {
            addCriterion("is_del =", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotEqualTo(Integer value) {
            addCriterion("is_del <>", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThan(Integer value) {
            addCriterion("is_del >", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_del >=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThan(Integer value) {
            addCriterion("is_del <", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThanOrEqualTo(Integer value) {
            addCriterion("is_del <=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelIn(List<Integer> values) {
            addCriterion("is_del in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotIn(List<Integer> values) {
            addCriterion("is_del not in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelBetween(Integer value1, Integer value2) {
            addCriterion("is_del between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotBetween(Integer value1, Integer value2) {
            addCriterion("is_del not between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andActionSportidIsNull() {
            addCriterion("action_sportId is null");
            return (Criteria) this;
        }

        public Criteria andActionSportidIsNotNull() {
            addCriterion("action_sportId is not null");
            return (Criteria) this;
        }

        public Criteria andActionSportidEqualTo(Integer value) {
            addCriterion("action_sportId =", value, "actionSportid");
            return (Criteria) this;
        }

        public Criteria andActionSportidNotEqualTo(Integer value) {
            addCriterion("action_sportId <>", value, "actionSportid");
            return (Criteria) this;
        }

        public Criteria andActionSportidGreaterThan(Integer value) {
            addCriterion("action_sportId >", value, "actionSportid");
            return (Criteria) this;
        }

        public Criteria andActionSportidGreaterThanOrEqualTo(Integer value) {
            addCriterion("action_sportId >=", value, "actionSportid");
            return (Criteria) this;
        }

        public Criteria andActionSportidLessThan(Integer value) {
            addCriterion("action_sportId <", value, "actionSportid");
            return (Criteria) this;
        }

        public Criteria andActionSportidLessThanOrEqualTo(Integer value) {
            addCriterion("action_sportId <=", value, "actionSportid");
            return (Criteria) this;
        }

        public Criteria andActionSportidIn(List<Integer> values) {
            addCriterion("action_sportId in", values, "actionSportid");
            return (Criteria) this;
        }

        public Criteria andActionSportidNotIn(List<Integer> values) {
            addCriterion("action_sportId not in", values, "actionSportid");
            return (Criteria) this;
        }

        public Criteria andActionSportidBetween(Integer value1, Integer value2) {
            addCriterion("action_sportId between", value1, value2, "actionSportid");
            return (Criteria) this;
        }

        public Criteria andActionSportidNotBetween(Integer value1, Integer value2) {
            addCriterion("action_sportId not between", value1, value2, "actionSportid");
            return (Criteria) this;
        }

        public Criteria andActionNameIsNull() {
            addCriterion("action_name is null");
            return (Criteria) this;
        }

        public Criteria andActionNameIsNotNull() {
            addCriterion("action_name is not null");
            return (Criteria) this;
        }

        public Criteria andActionNameEqualTo(String value) {
            addCriterion("action_name =", value, "actionName");
            return (Criteria) this;
        }

        public Criteria andActionNameNotEqualTo(String value) {
            addCriterion("action_name <>", value, "actionName");
            return (Criteria) this;
        }

        public Criteria andActionNameGreaterThan(String value) {
            addCriterion("action_name >", value, "actionName");
            return (Criteria) this;
        }

        public Criteria andActionNameGreaterThanOrEqualTo(String value) {
            addCriterion("action_name >=", value, "actionName");
            return (Criteria) this;
        }

        public Criteria andActionNameLessThan(String value) {
            addCriterion("action_name <", value, "actionName");
            return (Criteria) this;
        }

        public Criteria andActionNameLessThanOrEqualTo(String value) {
            addCriterion("action_name <=", value, "actionName");
            return (Criteria) this;
        }

        public Criteria andActionNameLike(String value) {
            addCriterion("action_name like", value, "actionName");
            return (Criteria) this;
        }

        public Criteria andActionNameNotLike(String value) {
            addCriterion("action_name not like", value, "actionName");
            return (Criteria) this;
        }

        public Criteria andActionNameIn(List<String> values) {
            addCriterion("action_name in", values, "actionName");
            return (Criteria) this;
        }

        public Criteria andActionNameNotIn(List<String> values) {
            addCriterion("action_name not in", values, "actionName");
            return (Criteria) this;
        }

        public Criteria andActionNameBetween(String value1, String value2) {
            addCriterion("action_name between", value1, value2, "actionName");
            return (Criteria) this;
        }

        public Criteria andActionNameNotBetween(String value1, String value2) {
            addCriterion("action_name not between", value1, value2, "actionName");
            return (Criteria) this;
        }

        public Criteria andActionGifIsNull() {
            addCriterion("action_gif is null");
            return (Criteria) this;
        }

        public Criteria andActionGifIsNotNull() {
            addCriterion("action_gif is not null");
            return (Criteria) this;
        }

        public Criteria andActionGifEqualTo(String value) {
            addCriterion("action_gif =", value, "actionGif");
            return (Criteria) this;
        }

        public Criteria andActionGifNotEqualTo(String value) {
            addCriterion("action_gif <>", value, "actionGif");
            return (Criteria) this;
        }

        public Criteria andActionGifGreaterThan(String value) {
            addCriterion("action_gif >", value, "actionGif");
            return (Criteria) this;
        }

        public Criteria andActionGifGreaterThanOrEqualTo(String value) {
            addCriterion("action_gif >=", value, "actionGif");
            return (Criteria) this;
        }

        public Criteria andActionGifLessThan(String value) {
            addCriterion("action_gif <", value, "actionGif");
            return (Criteria) this;
        }

        public Criteria andActionGifLessThanOrEqualTo(String value) {
            addCriterion("action_gif <=", value, "actionGif");
            return (Criteria) this;
        }

        public Criteria andActionGifLike(String value) {
            addCriterion("action_gif like", value, "actionGif");
            return (Criteria) this;
        }

        public Criteria andActionGifNotLike(String value) {
            addCriterion("action_gif not like", value, "actionGif");
            return (Criteria) this;
        }

        public Criteria andActionGifIn(List<String> values) {
            addCriterion("action_gif in", values, "actionGif");
            return (Criteria) this;
        }

        public Criteria andActionGifNotIn(List<String> values) {
            addCriterion("action_gif not in", values, "actionGif");
            return (Criteria) this;
        }

        public Criteria andActionGifBetween(String value1, String value2) {
            addCriterion("action_gif between", value1, value2, "actionGif");
            return (Criteria) this;
        }

        public Criteria andActionGifNotBetween(String value1, String value2) {
            addCriterion("action_gif not between", value1, value2, "actionGif");
            return (Criteria) this;
        }

        public Criteria andActionStarIsNull() {
            addCriterion("action_star is null");
            return (Criteria) this;
        }

        public Criteria andActionStarIsNotNull() {
            addCriterion("action_star is not null");
            return (Criteria) this;
        }

        public Criteria andActionStarEqualTo(Integer value) {
            addCriterion("action_star =", value, "actionStar");
            return (Criteria) this;
        }

        public Criteria andActionStarNotEqualTo(Integer value) {
            addCriterion("action_star <>", value, "actionStar");
            return (Criteria) this;
        }

        public Criteria andActionStarGreaterThan(Integer value) {
            addCriterion("action_star >", value, "actionStar");
            return (Criteria) this;
        }

        public Criteria andActionStarGreaterThanOrEqualTo(Integer value) {
            addCriterion("action_star >=", value, "actionStar");
            return (Criteria) this;
        }

        public Criteria andActionStarLessThan(Integer value) {
            addCriterion("action_star <", value, "actionStar");
            return (Criteria) this;
        }

        public Criteria andActionStarLessThanOrEqualTo(Integer value) {
            addCriterion("action_star <=", value, "actionStar");
            return (Criteria) this;
        }

        public Criteria andActionStarIn(List<Integer> values) {
            addCriterion("action_star in", values, "actionStar");
            return (Criteria) this;
        }

        public Criteria andActionStarNotIn(List<Integer> values) {
            addCriterion("action_star not in", values, "actionStar");
            return (Criteria) this;
        }

        public Criteria andActionStarBetween(Integer value1, Integer value2) {
            addCriterion("action_star between", value1, value2, "actionStar");
            return (Criteria) this;
        }

        public Criteria andActionStarNotBetween(Integer value1, Integer value2) {
            addCriterion("action_star not between", value1, value2, "actionStar");
            return (Criteria) this;
        }

        public Criteria andActionTempSportidIsNull() {
            addCriterion("action_temp_sportId is null");
            return (Criteria) this;
        }

        public Criteria andActionTempSportidIsNotNull() {
            addCriterion("action_temp_sportId is not null");
            return (Criteria) this;
        }

        public Criteria andActionTempSportidEqualTo(String value) {
            addCriterion("action_temp_sportId =", value, "actionTempSportid");
            return (Criteria) this;
        }

        public Criteria andActionTempSportidNotEqualTo(String value) {
            addCriterion("action_temp_sportId <>", value, "actionTempSportid");
            return (Criteria) this;
        }

        public Criteria andActionTempSportidGreaterThan(String value) {
            addCriterion("action_temp_sportId >", value, "actionTempSportid");
            return (Criteria) this;
        }

        public Criteria andActionTempSportidGreaterThanOrEqualTo(String value) {
            addCriterion("action_temp_sportId >=", value, "actionTempSportid");
            return (Criteria) this;
        }

        public Criteria andActionTempSportidLessThan(String value) {
            addCriterion("action_temp_sportId <", value, "actionTempSportid");
            return (Criteria) this;
        }

        public Criteria andActionTempSportidLessThanOrEqualTo(String value) {
            addCriterion("action_temp_sportId <=", value, "actionTempSportid");
            return (Criteria) this;
        }

        public Criteria andActionTempSportidLike(String value) {
            addCriterion("action_temp_sportId like", value, "actionTempSportid");
            return (Criteria) this;
        }

        public Criteria andActionTempSportidNotLike(String value) {
            addCriterion("action_temp_sportId not like", value, "actionTempSportid");
            return (Criteria) this;
        }

        public Criteria andActionTempSportidIn(List<String> values) {
            addCriterion("action_temp_sportId in", values, "actionTempSportid");
            return (Criteria) this;
        }

        public Criteria andActionTempSportidNotIn(List<String> values) {
            addCriterion("action_temp_sportId not in", values, "actionTempSportid");
            return (Criteria) this;
        }

        public Criteria andActionTempSportidBetween(String value1, String value2) {
            addCriterion("action_temp_sportId between", value1, value2, "actionTempSportid");
            return (Criteria) this;
        }

        public Criteria andActionTempSportidNotBetween(String value1, String value2) {
            addCriterion("action_temp_sportId not between", value1, value2, "actionTempSportid");
            return (Criteria) this;
        }

        public Criteria andStaticPicIsNull() {
            addCriterion("static_pic is null");
            return (Criteria) this;
        }

        public Criteria andStaticPicIsNotNull() {
            addCriterion("static_pic is not null");
            return (Criteria) this;
        }

        public Criteria andStaticPicEqualTo(String value) {
            addCriterion("static_pic =", value, "staticPic");
            return (Criteria) this;
        }

        public Criteria andStaticPicNotEqualTo(String value) {
            addCriterion("static_pic <>", value, "staticPic");
            return (Criteria) this;
        }

        public Criteria andStaticPicGreaterThan(String value) {
            addCriterion("static_pic >", value, "staticPic");
            return (Criteria) this;
        }

        public Criteria andStaticPicGreaterThanOrEqualTo(String value) {
            addCriterion("static_pic >=", value, "staticPic");
            return (Criteria) this;
        }

        public Criteria andStaticPicLessThan(String value) {
            addCriterion("static_pic <", value, "staticPic");
            return (Criteria) this;
        }

        public Criteria andStaticPicLessThanOrEqualTo(String value) {
            addCriterion("static_pic <=", value, "staticPic");
            return (Criteria) this;
        }

        public Criteria andStaticPicLike(String value) {
            addCriterion("static_pic like", value, "staticPic");
            return (Criteria) this;
        }

        public Criteria andStaticPicNotLike(String value) {
            addCriterion("static_pic not like", value, "staticPic");
            return (Criteria) this;
        }

        public Criteria andStaticPicIn(List<String> values) {
            addCriterion("static_pic in", values, "staticPic");
            return (Criteria) this;
        }

        public Criteria andStaticPicNotIn(List<String> values) {
            addCriterion("static_pic not in", values, "staticPic");
            return (Criteria) this;
        }

        public Criteria andStaticPicBetween(String value1, String value2) {
            addCriterion("static_pic between", value1, value2, "staticPic");
            return (Criteria) this;
        }

        public Criteria andStaticPicNotBetween(String value1, String value2) {
            addCriterion("static_pic not between", value1, value2, "staticPic");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}